﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonTypeSystem
{
    class Test
    {
        static void Main(string[] args)
        {
            //Student student = new Student("Ivan Ivanov Ivanov", 12315466, "asda@das.as",
            //    "nqkude", "7898-879878", 2, Student.Faculties.DGD, Student.Universities.NBU,
            //    Student.Specialties.lektroniks);
            //Console.WriteLine(student);
            //int a = student.GetHashCode();
            //Console.WriteLine(a);
            //Student st2 = new Student("Ivan Ivanov Ivanov", 12315466, "asda@das.as",
            //    "nqkude", "7898-879878", 2, Student.Faculties.DGD, Student.Universities.NBU,
            //    Student.Specialties.lektroniks);
            //Console.WriteLine(student.Equals(st2));
            ////Student st3 = new Student("Ivan Ivanov Ivanov", 125315466, "asda@das.as",
            ////    "nqkude", "7898-879878", 2, Student.Faculties.DGD, Student.Universities.NBU,
            ////    Student.Specialties.lektroniks);
            ////Console.WriteLine(student.Equals(st3));

            //Student st3 = st2.Clone()as Student;
            //Console.WriteLine(st3);
            Person a = new Person("ivan");
            Person b = new Person("pesho",9);
            Console.WriteLine(a);
            Console.WriteLine(b);
        }
    }
}
